home *** CD-ROM | disk | FTP | other *** search
-
-
-
- nnnneeeettttwwwwoooorrrrkkkk((((1111MMMM)))) nnnneeeettttwwwwoooorrrrkkkk((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- network - network initialization and shutdown script
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////eeeettttcccc////iiiinnnniiiitttt....dddd////nnnneeeettttwwwwoooorrrrkkkk [ ssssttttaaaarrrrtttt | ssssttttoooopppp ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _n_e_t_w_o_r_k shell script is called during system startup from /_e_t_c/_r_c_2 to
- initialize the standard and optional network devices and daemons. The
- script is called during system shutdown from /_e_t_c/_r_c_0 to gracefully kill
- the daemons and inactivate the devices.
-
- When called with the _s_t_a_r_t argument, the _n_e_t_w_o_r_k script does the
- following, using the various configuration flags described below:
-
- +o Defines the hostname and hostid based on the name in /_e_t_c/_s_y_s__i_d and
- its corresponding Internet address in /_e_t_c/_h_o_s_t_s.
-
- +o Checks that the host's Internet address is not the default 192.0.2.1
- Internet test address. If the address is the default address, the
- software is configured for standalone mode. An Internet address other
- than the default must be chosen in order to configure the network
- properly. See the guide _I_R_I_X _A_d_m_i_n: _N_e_t_w_o_r_k_i_n_g _a_n_d _M_a_i_l for
- information on selecting an address.
-
- +o Initializes the network interfaces. The HyperNet interface is
- initialized if the hypernet configuration flag is on. If multiple
- ethernet or FDDI interfaces are present, the script computes typical
- primary and gateway interface names and addresses for most systems.
- /_e_t_c/_c_o_n_f_i_g/_n_e_t_i_f._o_p_t_i_o_n_s provides a place for site-dependent network
- interface definitions. You need to modify this file only if:
-
- - the computed primary and/or gateway interface names are incorrect
-
- - you don't like convention used to define addresses for interfaces
-
- - the host has more than 2 ethernet or FDDI interfaces
-
- Each interface must have a unique Internet address and hostname in
- /_e_t_c/_h_o_s_t_s. The script derives the names from /_e_t_c/_s_y_s__i_d. The
- prefix ggggaaaatttteeee---- is prepended to the hostname to generate the second
- interface's name. The suffix ----hhhhyyyy is appended to generate the HyperNet
- interface's name. For example:
-
- 191.50.1.7 yosemite.parks.us yosemite
- 137.254.2.49 gate-yosemite.parks.us gate-yosemite
- 191.51.0.88 yosemite-hy.parks.us yosemite-hy
-
- See the comments in /_e_t_c/_c_o_n_f_i_g/_n_e_t_i_f._o_p_t_i_o_n_s for details.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- nnnneeeettttwwwwoooorrrrkkkk((((1111MMMM)))) nnnneeeettttwwwwoooorrrrkkkk((((1111MMMM))))
-
-
-
- +o Deletes existing routes.
-
- +o Starts the standard networking daemons such as the routing, portmap
- and DNS nameserver daemons. Initializes the default multicast route.
-
- +o (If the NFS option is installed). Defines the NIS domain name using
- /_v_a_r/_y_p/_y_p_d_o_m_a_i_n if it exists. If the NIS domain is the same as the
- Internet domain name in /_e_t_c/_s_y_s__i_d, then _y_p_d_o_m_a_i_n is not needed.
- Starts name service daemons, mounts and exports NFS filesystems,
- starts NFS automount, lock and status daemons.
-
- +o Starts the _i_n_e_t_d, _t_i_m_e_d, _t_i_m_e_s_l_a_v_e, _r_a_r_p_d, and _r_w_h_o_d daemons.
-
- +o Starts the 4DDN software (if installed).
-
- When called with the _s_t_o_p argument, the _n_e_t_w_o_r_k script gracefully
- terminates daemons in the correct order, unmounts NFS filesystems and
- inactivates the network interfaces.
-
- CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN FFFFLLLLAAAAGGGGSSSS
- A daemon or subsystem is enabled if its configuration flag in the
- /_e_t_c/_c_o_n_f_i_g directory in the oooonnnn state. If a flag file is missing, the
- flag is considered ooooffffffff. Use the _c_h_k_c_o_n_f_i_g(1M) command to turn a flag oooonnnn
- or ooooffffffff. For example,
-
- chkconfig timed on
-
- enables the timed flag. When invoked without arguments, _c_h_k_c_o_n_f_i_g prints
- the state of all known flags.
-
- There are two special flags: verbose and network. The verbose flag
- controls the printing of the names of daemons as they are started and the
- printing of NFS-mounted filesystem names as they are mounted and
- unmounted. The network flag allows incoming and outgoing traffic. This
- flag can be set off if you need to isolate the machine from network
- without removing cables.
-
- The following table lists the configuration flags used to initialize
- standard and optional software.
-
-
- Flag Action if oooonnnn
-
- rrrroooouuuutttteeeedddd Start IP routing deamon
-
- ggggaaaatttteeeedddd Start Cornell/Merit IP super-routing daemon instead of
- routed.
-
- mmmmrrrroooouuuutttteeeedddd Start Stanford IP multicast routing daemon
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- nnnneeeettttwwwwoooorrrrkkkk((((1111MMMM)))) nnnneeeettttwwwwoooorrrrkkkk((((1111MMMM))))
-
-
-
- nnnnaaaammmmeeeedddd Start 4.3BSD Internet domain name server
-
- rrrrttttnnnneeeettttdddd Initialize preemptable networking for real-time use
-
- rrrrwwwwhhhhoooodddd Start 4.3BSD _r_w_h_o daemon
-
- ttttiiiimmmmeeeedddd Start 4.3BSD time synchronization daemon
-
- ttttiiiimmmmeeeessssllllaaaavvvveeee Start SGI time synchronization daemon
-
- hhhhyyyyppppeeeerrrrnnnneeeetttt Initialize HyperNet controller and routes
-
- nnnnffffssss Start NFS daemons, mount NFS filesystems
-
- aaaauuuuttttoooommmmoooouuuunnnntttt Start NFS automounter daemon
-
- lllloooocccckkkkdddd Start NFS lock and status daemons
-
- nnnnssssdddd Enable name services, start _n_s_d daemon
-
- rrrraaaarrrrppppdddd Start the Reverse ARP daemon
-
- yyyyppppmmmmaaaasssstttteeeerrrr Start password server; nnnnssssdddd should also be oooonnnn.
-
- 4444DDDDDDDDNNNN Initialize 4DDN (DECnet connectivity) software
-
- Site-dependent options for daemons belong in ``options'' files in
- /_e_t_c/_c_o_n_f_i_g. Certain daemons require options so their options file must
- contain valid information. See the guide _I_R_I_X _A_d_m_i_n: _N_e_t_w_o_r_k_i_n_g _a_n_d _M_a_i_l
- and the daemon's manual page in section 1M for details on valid options.
-
- File Status
-
- automount.options optional
-
- biod.options optional
-
- gated.options optional
-
- ifconfig-1.options optional (for primary network interface)
-
- ifconfig-2.options optional (for gateway network interface)
-
- ifconfig-3.options optional (for 2nd gateway network interface)
-
- ifconfig-4.options optional (for 3rd gateway network interface)
-
- ifconfig-hy.options optional (for HyperNet interface)
-
- inetd.options optional
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- nnnneeeettttwwwwoooorrrrkkkk((((1111MMMM)))) nnnneeeettttwwwwoooorrrrkkkk((((1111MMMM))))
-
-
-
- mrouted.options optional
-
- named.options optional
-
- netif.options optional (to select different primary & gateway
- interfaces, etc.)
-
- nfsd.options optional
-
- nsd.options optional
-
- portmap.options optional
-
- rarpd.options optional
-
- routed.options optional
-
- rpc.passwd.options optional
-
- rwhod.options optional
-
- static-route.options optional (to specify static routes)
-
- timed.options optional
-
- timeslave.options required
-
- Site-dependent configuration commands to start and stop local daemons and
- publish arp entries should be put in a separate shell script called
- /_e_t_c/_i_n_i_t._d/_n_e_t_w_o_r_k._l_o_c_a_l. Make symbolic links in /_e_t_c/_r_c_0._d and
- /_e_t_c/_r_c_2._d to this file to have it called during system startup and
- shutdown:
-
- ln -s /etc/init.d/network.local /etc/rc0.d/K39network
- ln -s /etc/init.d/network.local /etc/rc2.d/S31network
-
- See /_e_t_c/_i_n_i_t._d/_n_e_t_w_o_r_k for the general format of the script.
-
- FFFFIIIILLLLEEEESSSS
- /etc/init.d/network
- /etc/rc0.d/K40network linked to network
- /etc/rc2.d/S30network linked to network
- /etc/config configuration flags and options files
- /etc/sys_id hostname
- /etc/hosts Internet address-name database
- /var/yp/ypdomain NIS domain name
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- chkconfig(1M), rc0(1M), rc2(1M).
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-
-
-
- nnnneeeettttwwwwoooorrrrkkkk((((1111MMMM)))) nnnneeeettttwwwwoooorrrrkkkk((((1111MMMM))))
-
-
-
- _I_R_I_X _A_d_m_i_n: _N_e_t_w_o_r_k_i_n_g _a_n_d _M_a_i_l
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 5555
-
-
-
-